﻿@using BootstrapBlazor.Shared.Samples;
@inject IStringLocalizer<Switchs> Localizer

<div class="row g-3">
    <div class="col-6 col-sm-4 col-md-3 col-lg-auto">
        <NullSwitch @bind-Value="@NullValue"
                    OnColor="Color.Dark"
                    OnText="@Localizer["SwitchsOnText"]"
                    OffText="@Localizer["SwitchsOffText"]" />
    </div>
</div>

@code {
    private bool? NullValue { get; set; }
}
